package avnf_small.delayPercent;

/**
 * @author shentianyu
 * @date 2020-12-28 14:20
 */
public class Calculator {
    public static void main(String[] args) {
        double numberOfUsedCPUs = 20.51 ;
        double mfsi = 9.32 ;
        double satisfaction = 0.863262;

        double numberOfAllCPUs = 36.0;
        double numberOfAllSlots = 15.0;

        double ac = (numberOfUsedCPUs/numberOfAllCPUs)+(mfsi/numberOfAllSlots)+(1-satisfaction);
        System.out.println(String.format("%.6f",ac));
    }
}
